package it.enricod.jcontextfree.engine.model;


public interface IProgram {

	public IRuleDef getStartRuleDef();
	
	public void addRuleDef(String name, IRuleDef ruleDef);

    /**
     *
     * @return il codice del programma
     */
	public String getAsText();

    /**
     *
     * @param text il codice del programma
     */
	public void setText(String text);
	
	public IPaint createPaint();
	
}
